package dao;

import entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User getUserByUserID(String userID);

    //通过UserID和password查询User
    User getUserByUserIDAndPassword(@Param("userID") String userID, @Param("password") String password);

    //更新用户信息
    int updateUser(User user);
}
